#include <stdio.h>
#define MAX 100
int arr[MAX];
int front=-1,rear=-1;
int IsEmpty()
{
	if(front==-1&&rear==-1)
	return 1;
	else
	return 0;
}
void Push(int data)
{
	if((rear+1)%MAX==front)
	return;
	else if(IsEmpty())
	front=rear=0;
	else
	rear=(rear+1)%MAX;
	arr[rear]=data;
}
void Delete()
{
	if(IsEmpty())
	return;
	else if(front==rear)
	front=rear=0;
	else
	front=(front+1)%MAX;
}
int Top()
{
	return arr[front];
}
int main(void)
{
	
}
